package leecode

func isAnagramLCR(s string, t string) bool {
	hashMap := make(map[byte]int)
	for index, _ := range s {
		hashMap[s[index]]++
	}
	for index, _ := range t {
		hashMap[t[index]]--
	}
	for _, value := range hashMap {
		if value != 0 {
			return false
		}
	}
	return true
}
